<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ page isELIgnored="false" %>
<html>
<head>
    <title>登录界面</title>
    <link rel="stylesheet" href="../css/base.css">
    <style>
        body {
            background-size: 100%;
            background-attachment: fixed;
        }
        h2 {
            text-align: center;
            font-size: 60px;
            margin-top: 90px;
            color: #000;
            font-family: 微软雅黑;
        }
        .main {
            background-color: hsl(0, 66%, 49%);
            height: 300px;
            width: 400px;
            margin: 130px auto 0;
            padding: 10px 50px;
            opacity: 0.8;
            color: black;
            border-radius: 10px;
        }
        p {
            font-size: 40px;
            text-align: center;
            margin-top: 5px;
            margin-bottom: 20px;

        }
        .id,.pwd{
            font-size: 25px;
            margin-bottom: 20px;
            text-align: left;
        }
        .id input ,.pwd input{
            width: 200px;
            height: 35px;
            margin-left: 20px;
            font-size: 25px;
            padding: 5px 10px;
        }
        .code input {
            width: 80px;
            height: 30px;
            font-size: 25px;
            padding: 5px 10px;
            margin-left: 10px;
            display: inline-block;
        }
        .code span {
            display: inline-block;
            width: 80px;
            height: 30px;
            background-color: black;
            vertical-align: middle;
            margin-bottom: 3px;
            margin-left: 15px;
        }
        .kind {
            font-size: 18px;
            margin-top: 30px;
            margin-bottom: 15px;
        }
        .kind input {
            width: 15px;
            height: 15px;
        }
        .sure .ok {
            font-size: 15px;
            width: 60px;
            height: 25px;
            float: left;
            cursor: pointer;

        }
        .sure .cancel {
            font-size: 15px;
            width: 60px;
            height: 25px;
            float: right;
            margin-right: 20px;
            cursor: pointer;
        }
        .register {
            font-size: 15px;
            margin-left: 50px;
        }
        a:hover {
            color: green;
        }
    </style>
</head>
<body>

<form action="<%=request.getContextPath()%>/LoginServlet" method="post">
    <div class="main">
        <p>登录</p>
        <div class="id">
            账号:<input type="text" name="id">
        </div>
        <div class="pwd">
            密码:<input type="password" name="pwd">
        </div>
        <div class="sure">
            <input type="submit" value="登录" class="ok">
            <input type="reset" value="重置" class="cancel">
        </div>
<%--        <div><a href="register.jsp" class="register">立即注册</a></div>--%>
    </div>
</form>
</body>
</html>
